/**
 * Created by henian.xu on 2018/11/25.
 *
 */

export default ({ $axios, store }) => {
    return $axios.get('/rpc/comm/pt/portalInfoConfig/getInfo', {}, { _isHandleError: true }).then(json => {
        store.commit('appData/setAD', json.data.data);
    });
};
